package com.bigfish.gbs.dao;

import com.bigfish.gbs.entity.OrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderInfoMapper {
    int deleteByPrimaryKey(Long orderId);

    int insert(OrderInfo record);

    int insertSelective(OrderInfo record);

    OrderInfo selectByPrimaryKey(Long orderId);

    int updateByPrimaryKeySelective(OrderInfo record);

    int updateByPrimaryKey(OrderInfo record);

    OrderInfo selectByUserIdAndOrderId(@Param("userId") String userId, @Param("orderId") Long orderId);

    List<OrderInfo> selectOrder();
}